#include <iostream>
#include <iterator>
using namespace std;
#include <vector>
#include <algorithm>
int main()
{
    vector<int> vec(10);
    int value{1};
    // generate(cbegin(vec), cend(vec), [&value](){value *= 2; return value;});
    for (const auto i: vec) {cout << i << endl;}

    return 0;
}